//
//  NSBundle+Common.m
//  ACLiteAVUISDK
//
//  Created by 冯琰琰 on 2021/3/29.
//

#import "NSBundle+Common.h"

@implementation NSBundle (Common)
+ (instancetype)BundleWithBundleName:(NSString *)bundleName targetClass:(Class)targetClass{
    NSBundle *curB = [NSBundle bundleForClass:targetClass];
    NSURL *url = [curB URLForResource:bundleName withExtension:@"bundle"];
    return [NSBundle bundleWithURL:url];
}
@end
